wascc-codec 0.8.1

Encoding and decoding primitives for waSCC (WebAssembly Secure Capabilities Connector)
Documentation

crates.io  Rust  license  documentation

waSCC Codec

The WebAssembly Secure Capabilities Connector (waSCC) codec library contains a set of types and other primitives that are common to the host runtime, first-party capability providers, and actor modules that are created for use with the wascc host runtime, which is in turn built on top of WebAssembly Procedure Call (waPC) primitives.

These types are serializable and de-serializable into a binary format using message pack. This format consumes a bit more space on the wire than protocol buffers, but imposes less boilerplate burden on developers and produces significantly less latency during serialization/de-serialization.

This crate includes definitions for a standard set of operations supported by the default capability providers:

  • Messaging - Message broker functionality (pub, sub, request)
  • HTTP Server - HTTP server capability
  • HTTP Client - HTTP client capability
  • Key-Value Store - Standard K/V operations, including lists, sets, and atomic counters
  • Blob Store - Cloud-native file storage capability
  • Extras - Random number generation, sequence numbers, etc
  • Streams - Support for an append-only event stream provider
  • Logging - Level-based logging